#pragma once
#include"public_struct.h"
string reverseWords(string s) {
	stringstream input(s);
	string temp;
	string result = "";
	while (input >> temp) {
		reverse(temp.begin(), temp.end());
		if (result.size()) {
			result += " ";
		}
		result += temp;
	}
	return result;
}
